/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2022-03-27 22:53:57
 * @LastEditTime: 2025-04-18 21:59:54
 * @FilePath: /jiancha/src/App.tsx
 */
import React from 'react';
import { BrowserRouter } from 'react-router-dom';
import RouterComponent from '@/routes';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/es/locale/zh_CN';
import 'dayjs/locale/zh-cn';

const App = () => {
  return (
    <React.Suspense fallback={<span>loading</span>}>
      <ConfigProvider locale={zhCN} componentSize={'middle'}>
        <BrowserRouter>
          <RouterComponent />
        </BrowserRouter>
      </ConfigProvider>
    </React.Suspense>
  );
};

export default App;
